package com.hundsun.cprs.yyt.service.order.enums;

public enum EnumOrderSNCode {

    FUND_OUT("01", "支出代码"), FUND_IN("02", "收入代码"), FUND_RETURN("03", "退款代码");
    private String code;
    private String desc;

    private EnumOrderSNCode(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
    
    public static String getOrderFundSN(String orderSn,EnumOrderSNCode code){
        return new StringBuffer(orderSn).append(code.getCode()).toString();
    }
}
